package com.zzq.gmall.product;

import com.zzq.gmall.common.handler.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * 幼儿猿大班
 * 2023/2/10
 */
@Import({GlobalExceptionHandler.class})
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.zzq.gmall.product.mapper")  //自动扫描mapper接口
public class ProductApplcation {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplcation.class,args);
    }
}
